package commentControl;

import java.util.List;

import commentControl.Comment;

public class CommentListView {

	private List<Comment> commentList;
	private int commentCount;
	private int number;

	public CommentListView(List<Comment> commentList, int commentCount,int number) {
		this.commentList = commentList;
		this.commentCount= commentCount;
		this.number = number;
	}
	
	public List<Comment> getCommentList(){
		return commentList;
	}
	
	public int getCommnetCount(){
		return commentCount;
	}
	
	public int getNumber(){
		return number;
	}
	
	public boolean isEmpty() {
		return commentCount == 0;
	}
}
